home *** CD-ROM | disk | FTP | other *** search
- #include "oath/bigInteger.h"
-
- #include <fstream.h>
-
- main(int argc, char **argv)
- {if(argc != 3)
- {cout << argv[0] << " reads two bigInteger's and produces sums.\n";
- cout << "Usage: " << argv[0] << " <integer> <integer>\n";
- exit(1);
- }
-
- bigIntegerA X = bigIntegerA::make(argv[1]);
- bigIntegerA Y = bigIntegerA::make(argv[2]);
-
- cout << " X = " << X << endl;
- cout << " Y = " << Y << endl;
-
- ofstream File ("biread.obj");
-
- X.export(File);
- Y.export(File);
- }
-